 {
        
        var o;

        function i(e, t, n) {
            return t in e ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0
            }) : e[t] = n, e;
        }


            Global.SDK = (i(o = {
                _instance: null,
                init: function (t) {
                    if (Global.config.channelName == Global.config.Channel.tuyou) if (t == cc.sys.WECHAT_GAME) {
                        var n = require("./tuyou/wechat/tuyouSDKwechat.js");
                        this._instance = n;
                    } else {
                        var o = require("./tuyou/h5/tuyouSDKh5.js");
                        this._instance = o;
                    } else if (Global.config.channelName == Global.config.Channel.meitu) if (t == cc.sys.WECHAT_GAME) {
                        var i = require("./meitu/wechat/meituSDKwechat.js");
                        this._instance = i;
                    } else {
                        var a = require("./meitu/h5/meituSDKh5.js");
                        this._instance = a;
                    } else if (Global.config.channelName == Global.config.Channel.scmjapp) {
                        var r = require("./scmjapp/scmjappSDK.js");
                        this._instance = r;
                    }
                    this._instance.ctor();
                },
                login: function () {
                    console.log("_instance login:", this._instance), this._instance && this._instance.login && this._instance.login();
                },
                decode: function (e) {
                    return console.log("_instance decode:", this._instance), this._instance && this._instance.decode && this._instance.decode(e);
                },
                recharge: function (e) {
                    console.log("_instance recharge:", this._instance, e), this._instance && this._instance.recharge && this._instance.recharge(e);
                },
                exitGame: function () {
                    console.log("_instance exitGame:", this._instance), this._instance && this._instance.exitGame && this._instance.exitGame();
                },
                onGameShowHideStatus: function (e, t) {
                    console.log("_instance onGameShowHideStatus:", this._instance), this._instance && this._instance.onGameShowHideStatus && this._instance.onGameShowHideStatus(e, t);
                },
                requestBILog: function (e, t) {
                    console.log("_instance requestBILog:", this._instance), this._instance && this._instance.requestBILog && this._instance.requestBILog(e, t);
                },
                shareWithConfig: function (e, t, n, o, i) {
                    console.log("_instance shareWithConfig:", this._instance), this._instance && this._instance.shareWithConfig && this._instance.shareWithConfig(e, t, n, o, i);
                },
                checkForUpdate: function () {
                    console.log("_instance checkForUpdate:", this._instance), this._instance && this._instance.checkForUpdate && this._instance.checkForUpdate();
                },
                showShareMenu: function () {
                    console.log("_instance showShareMenu:", this._instance), this._instance && this._instance.showShareMenu && this._instance.showShareMenu();
                }
            }, "checkForUpdate", function () {
                console.log("_instance checkForUpdate:", this._instance), this._instance && this._instance.checkForUpdate && this._instance.checkForUpdate();
            }), i(o, "showQRlink", function () {
                console.log("_instance showQRlink:", this._instance), this._instance && this._instance.showQRlink && this._instance.showQRlink();
            }), o)
    }